<?php

require_once '/www/wwwroot/hainan.megmt.com/application/common/library/WSServer.php';

// 导入 WSServer 类所在的命名空间
use app\common\library\WSServer;

// 实例化 WSServer 类并启动服务器
$ws = new WSServer();
$ws->stop();